package com.baosight.risk.service.xtzy.entity;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Table: T_XTZY_USER_PERMISSION
 */
@Data
@Table(name = "T_XTZY_USER_PERMISSION")
public class XtzyUserPermission extends BaseEntity {

    /**
     * 权限申请类型
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    APPLY_TYPE
     * Nullable:  true
     */
    @Column(name = "APPLY_TYPE")
    private String applyType;

    /**
     * 权限申请类型中文
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    APPLY_TYPE_NAME
     * Nullable:  true
     */
    @Column(name = "APPLY_TYPE_NAME")
    private String applyTypeName;

    /**
     * 申请内容
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    APPLY_CONTEXT
     * Nullable:  true
     */
    @Column(name = "APPLY_CONTEXT")
    private String applyContext;

    /**
     * 申请人
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    APPLY_USER_CODE
     * Nullable:  true
     */
    @Column(name = "APPLY_USER_CODE")
    private String applyUserCode;

    /**
     * 申请人姓名
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    APPLY_USER_NAME
     * Nullable:  true
     */
    @Column(name = "APPLY_USER_NAME")
    private String applyUserName;

    /**
     * 申请状态
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    STATUS
     * Nullable:  true
     */
    @Column(name = "STATUS")
    private String status;

    /**
     * 申请状态中文
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    STATUS_NAME
     * Nullable:  true
     */
    @Column(name = "STATUS_NAME")
    private String statusName;

    /**
     * 申请状态中文
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    CHECK_USER_CODE
     * Nullable:  true
     */
    @Column(name = "CHECK_USER_CODE")
    private String checkUserCode;

    /**
     * 申请状态中文
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    CHECK_USER_NAME
     * Nullable:  true
     */
    @Column(name = "CHECK_USER_NAME")
    private String checkUserName;

    /**
     * 申请状态中文
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 申请状态中文
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 申请状态中文
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    MANAGE_COMP_CODE
     * Nullable:  true
     */
    @Column(name = "MANAGE_COMP_CODE")
    private String manageCompCode;

    /**
     * 申请状态中文
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    MANAGE_COMP_NAME
     * Nullable:  true
     */
    @Column(name = "MANAGE_COMP_NAME")
    private String manageCompName;

    /**
     * 备注
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    REMARK
     * Nullable:  true
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @Column(name = "ROW_ORDER")
    private String rowOrder;

    /**
     * 排序
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    APPROVAL_STATUS
     * Nullable:  true
     */
    @Column(name = "APPROVAL_STATUS")
    private String approvalStatus;

    /**
     * 排序
     * <p>
     * Table:     T_XTZY_USER_PERMISSION
     * Column:    APPROVAL_STATUS_NAME
     * Nullable:  true
     */
    @Column(name = "APPROVAL_STATUS_NAME")
    private String approvalStatusName;



    private static final long serialVersionUID = 1L;
}